<?php
/**
 * ProjectName: Grapes.
 * Created by LemonZ.
 * FileName: Payment.php
 * Date: 2019/2/14
 * Time: 0:24
 * Description:
 */

namespace org;


class Payment
{
    static function create($code, $config){
        $code = '\\org\\payments\\'.$code;
        return new $code($config);
    }
}